Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

solved it use JavaAgent

I test the java script library many times,all failure. New a Javaagent not java script library then everything is simple.
core LotusScript code:
Dim agent As NotesAgent
Set db = s.CurrentDatabase
Set agent = db.GetAgent("Agent to be run LotusScript")
If agent.RunOnServer(doc.NotesID) = 0 Then
Messagebox "Agent ran",, "Success"
Else
Messagebox "Agent did not run",, "Failure"
End If

core javaagent code:

Agent agent = agentContext.getCUrrentAgent()
Document doc =
db.getDocumentbyID(agent.getParameterDocID())

Notice:Runtime security level,You need to allow restricted operations.


Feedback response number WEBBAE8JEK created by ~James Xanlusterikle on 09/28/2016

NotesException:older version on se... (~James Xanluste... 26.Sep.16)
. . What version of Domino server are y... (~Fritz Ekfoober... 26.Sep.16)
. . . . Lotus Domino R8.5.3 (~James Xanluste... 26.Sep.16)
. . . . . . Can you share a bit more of your co... (~Fritz Ekfoober... 26.Sep.16)
. . . . . . . . Domino JDK is Normal 1.6 (~James Xanluste... 26.Sep.16)
. . . . . . . . . . different NotesException (~James Xanluste... 27.Sep.16)
. . . . . . . . . . . . Post more code (~Fritz Ekfoober... 27.Sep.16)
. . . . . . . . . . . . . . the more code (~James Xanluste... 28.Sep.16)
. . . . . . . . . . . . . . . . solved it use JavaAgent (~James Xanluste... 28.Sep.16)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS